import sys   
sys.path.append('code')
from feature_eng.alpha_mine.feature_calc import Feature_calc_df

def calc_main_mine():
    lst = [2, 5, 10,30,60,120]
    for i in lst: 
        print(f'\n********** 开始计算参数N={i} *****************')
        F_df = Feature_calc_df(root=r'data/cmodty/my_feature/feature_data_mine' ,N=i)
        F_df.forward()
    

# from feature_display import Feature_display
# import os
# lst = sorted(os.listdir(r'data/cmodty/my_feature/feature_data'))
# for i in lst:
#     print(f'\n**********开始检查特征{i}')
#     F = Feature_display(r'data/cmodty/check/feature_data', i, feature_root =r'data/cmodty/my_feature/feature_data' )
#     F.test()

# calc_main_mine()